package com.crm.business.crm.service;


import com.crm.common.crm.entity.BO.CrmSourceSearchBO;
import com.crm.common.crm.entity.PO.CrmSource;
import com.crm.common.ka.core.entity.BasePage;

import java.util.List;

public interface ICrmSourceService {

    List<CrmSource> querySourceDataGroupByCode();

    BasePage<CrmSource> queryList(CrmSourceSearchBO crmSource);

    CrmSource queryInfoById(Integer id);

    int addSource(CrmSource source);

    int updateSource(CrmSource source);

    /**
     * 删除投放金额数据
     *
     * @param ids ids
     */
    public void deleteByIds(List<Integer> ids) throws Exception;

    public void deleteById(Integer ids) throws Exception;
}
